﻿package view.message
{
    import morn.core.components.*;

    public class Alert2UI extends View
    {
        public var bgscale:Image;
        public var closeBtn:Button;
        public var textField:Label;
        public var checkbox:CheckBox;
        public var title:Label;
        public var btn1:Button;
        public var btn2:Button;
        protected var uiXML:XML;

        public function Alert2UI()
        {
            this.uiXML = <View>
n	t	t	t  <Image url=""png.common.cs2_tsbg"" x=""0"" y=""0"" width=""258"" height=""212"" sizeGrid=""67,30,67,30"" var=""bgscale""/>
n	t	t	t  <Button skin=""png.common.btn_cs2_close"" x=""225"" y=""5"" var=""closeBtn""/>
n	t	t	t  <Label x=""25"" y=""47"" width=""212"" autoSize=""left"" color=""0xc72541"" isHtml=""true"" multiline=""true"" wordWrap=""true"" stroke=""0x00"" var=""textField"" leading=""5"" mouseChildren=""false"" mouseEnabled=""false"" text=""-""/>
n	t	t	t  <CheckBox label=""下次不显示"" skin=""png.common.checkbox_cs2_gx"" x=""84"" y=""137"" var=""checkbox"" labelStroke=""0x0"" labelColors=""0xb9774b""/>
n	t	t	t  <Label x=""35"" y=""7"" width=""183"" height=""18"" color=""0xffffff"" font=""SimSun"" align=""center"" size=""14"" var=""title"" stroke=""0x0"" bold=""true"" text=""-""/>
n	t	t	t  <Button label=""确定"" skin=""png.common.btn_cs2btn"" x=""29"" y=""166"" labelColors=""0xb29a6c,0xb29a6c,0xb29a6c"" labelStroke=""0x0"" var=""btn1"" width=""87""/>
n	t	t	t  <Button label=""取消"" skin=""png.common.btn_cs2btn"" x=""144"" y=""166"" labelColors=""0xb29a6c,0xb29a6c,0xb29a6c"" labelStroke=""0x0"" var=""btn2"" width=""87""/>
n	t	t	t</View>")("<View>
			  <Image url="png.common.cs2_tsbg" x="0" y="0" width="258" height="212" sizeGrid="67,30,67,30" var="bgscale"/>
			  <Button skin="png.common.btn_cs2_close" x="225" y="5" var="closeBtn"/>
			  <Label x="25" y="47" width="212" autoSize="left" color="0xc72541" isHtml="true" multiline="true" wordWrap="true" stroke="0x00" var="textField" leading="5" mouseChildren="false" mouseEnabled="false" text="-"/>
			  <CheckBox label="下次不显示\" skin="png.common.checkbox_cs2_gx" x="84" y="137" var="checkbox" labelStroke="0x0" labelColors="0xb9774b"/>
			  <Label x="35" y="7" width="183" height="18" color="0xffffff" font="SimSun" align="center" size="14" var="title" stroke="0x0" bold="true" text="-"/>
			  <Button label="确定" skin="png.common.btn_cs2btn" x="29" y="166" labelColors="0xb29a6c,0xb29a6c,0xb29a6c" labelStroke="0x0" var="btn1" width="87"/>
			  <Button label="取消" skin="png.common.btn_cs2btn" x="144" y="166" labelColors="0xb29a6c,0xb29a6c,0xb29a6c" labelStroke="0x0" var="btn2" width="87"/>
			</View>;
            return;
        }// end function

        override protected function createChildren() : void
        {
            createView(this.uiXML);
            return;
        }// end function

    }
}
